#include<func.h>
void*pthreadFunc(void*argc)
{
    printf("this is child, pthreadid = %ld\n",pthread_self());
    //作业修改   
    return (void*)123;
}
int main(void)
{
    pthread_t td1,td2,td3;
    pthread_create(&td1,NULL,pthreadFunc,NULL);
    pthread_create(&td1,NULL,pthreadFunc,NULL);
    pthread_create(&td1,NULL,pthreadFunc,NULL);
    void*retval;

    pthread_join(td1,&retval);
    printf("man retval = %ld\n",(long)retval);
    pthread_join(td2,NULL);
    printf("man retval = %ld\n");   
    pthread_join(td3,NULL);
    printf("man retval = %ld\n"); 
    return 0;
}